package com.orientsec.autotest.project.system.targetstruct.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.orientsec.autotest.framework.web.domain.BaseEntity;

/**
 * 目标文件结构配置表 targetstruct
 * 
 * @author autotest
 * @date 2019-12-27
 */
public class Targetstruct extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 目标数据id */
	private Integer id;
	/** 编号 */
	private String ssno;
	/** 名称 */
	private String ssname;
	/** 数据源配置类型 1:sqlserver,2:dbf,3:文件 */
	private String sstype;
	/** 描述 */
	private String disc;
	/** 文件名 */
	private String filename;
	/** 0-无,1-根据明细字段合并 */
	private Integer issum;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setSsno(String ssno) 
	{
		this.ssno = ssno;
	}

	public String getSsno() 
	{
		return ssno;
	}
	public void setSsname(String ssname) 
	{
		this.ssname = ssname;
	}

	public String getSsname() 
	{
		return ssname;
	}
	public void setSstype(String sstype) 
	{
		this.sstype = sstype;
	}

	public String getSstype() 
	{
		return sstype;
	}
	public void setDisc(String disc) 
	{
		this.disc = disc;
	}

	public String getDisc() 
	{
		return disc;
	}
	public void setFilename(String filename) 
	{
		this.filename = filename;
	}

	public String getFilename() 
	{
		return filename;
	}
	public void setIssum(Integer issum) 
	{
		this.issum = issum;
	}

	public Integer getIssum() 
	{
		return issum;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ssno", getSsno())
            .append("ssname", getSsname())
            .append("sstype", getSstype())
            .append("disc", getDisc())
            .append("filename", getFilename())
            .append("issum", getIssum())
            .toString();
    }
}
